|
我不会发图片,图片发不上去,就是下面这段代码,! u/ j& Z- z5 V& W8 M6 p
7 t6 m% \2 w: S' t4 U/ p8 K6 Hfsnode* item = parnode(1);
$ g! N- o5 p7 h2 t# Hfsnode* current = ownerobject(c);
& Y( P( w) y( t; W3 `//PROSESTART* T# K6 }, D3 y' O4 g
//Change the 3D shape of/ \" _; ] z. ^
//PROSEEND
$ ^* ~ O; y: A: F. R: Ufsnode* theobject =
. M/ x/ _# c# {4 E* S* e, m- C//PARAMSTART
8 R. ]- _( | ?6 a# A& m item 5 ?% o, u7 w1 J* z m; s1 B, I7 ?
//PARAMEND0 b7 R5 J+ B+ j9 \
;% e q( V! F" ^! i
//PROSESTART' U: T3 v2 e/ i0 m4 j' c4 @
//object to shape index number, e4 _. W( r6 G' `7 [+ y
//PROSEEND
+ ?) `. P6 w2 C6 b
6 M, O+ C# T$ q! B" z% \# Gint theindex =
# N) Q5 u% d( ~5 ] s5 k//PARAMSTART
$ ^/ q0 L% q' z) F8 w 1
# }9 p6 B, U( V# U4 m8 t# `//PARAMEND4 A! t; K% e" R
;+ C; _$ k1 a' S6 ?% I; ?0 l
//PROSESTART+ A8 `& y& S* f$ F
//./ `' j& {& a. O+ X) `2 [8 O7 a
//PROSEEND* l) B% ]5 k2 n6 T2 P/ ]8 y
! l; b& Z" U: A1 f- s! u* l0 X
setobjectshapeindex(theobject,theindex);
# w; W% I8 S; W0 A5 F/ Y/ \. C
& e) P- D/ J! @怎么用?
: t) i( G* t G0 P) r- Y# M如果这种方法可行,那么是在onentry里用,还是在onsetupfinish里用呢?
( \- X g- L1 [( W& ]2 ~请指教! |
|