|
我不会发图片,图片发不上去,就是下面这段代码,& V4 Y3 x$ y1 ?% ^% Z( M
9 a" r+ f. S6 T3 { w: e/ `fsnode* item = parnode(1);
+ L, j, b `" G% Ffsnode* current = ownerobject(c);
2 ~2 [- p- p0 A" C4 X4 ]2 r# J) p* W//PROSESTART, o) Q9 u+ V/ p8 v' v( ]) W
//Change the 3D shape of5 t, x* M& X' g% |
//PROSEEND0 ~. J, u9 J1 ]
fsnode* theobject =
4 J1 r" o( U# R+ C/ ~6 L//PARAMSTART/ o3 S# n6 \/ u5 d9 E& h
item
4 |8 d3 K8 M4 g% j, B. _2 A7 L+ S//PARAMEND- ]/ f+ m8 b) q# s% d& f0 z
;
) ?' l. K! Z6 z+ E V N//PROSESTART
1 v! {( J, u5 _; s/ C, d//object to shape index number$ D6 `+ G v/ d$ A( E1 w. e1 [
//PROSEEND' I6 s: m& C2 N& q3 S) p R" g
, R" M' e) e" l8 d N6 t4 p
int theindex =
$ i) z* [$ ]; F3 _' |& C//PARAMSTART% b* z/ I7 z- A& w {
1 ! v3 r7 R; ]9 n9 s! k7 u
//PARAMEND3 |- Z/ E* ~; T3 ^! y! a' K
;- u; i9 m& f" G
//PROSESTART' }* g* H) V: W1 [
//.
& m! m5 c- p( Z% g- ^//PROSEEND
5 l# u* u7 S6 U7 e' G9 I# N( }& w6 o
setobjectshapeindex(theobject,theindex);* n* M: A. }; f5 i4 b( a: k4 K
$ f$ j Q. d( k9 u9 L D
怎么用?
: F8 b; ]' [! Y( h. _' w如果这种方法可行,那么是在onentry里用,还是在onsetupfinish里用呢?
( S! ^$ q; K2 d- c# n; M: O5 N" Y& z请指教! |
|