|
我不会发图片,图片发不上去,就是下面这段代码,& @ f! r+ g e# k
+ d" @8 b: E3 G3 N
fsnode* item = parnode(1);4 M3 d9 J# D0 w5 \1 y- q
fsnode* current = ownerobject(c);
4 M8 j S/ U4 i: E8 M//PROSESTART
4 \3 b, ^. F5 V& ~//Change the 3D shape of+ F* ]2 w- v8 L$ q$ P M
//PROSEEND
* E& t" s3 B( Q; f( m3 c! Ofsnode* theobject =
5 j7 m5 V J9 R" C; P4 S( K//PARAMSTART/ z; x3 ~6 ^: [) S
item
+ G. V* d( e* t% P n J//PARAMEND6 t h3 X) V& ?# r
;
8 M+ p8 l, q, z' {//PROSESTART! Z% a. M W9 Y y4 W! v+ M
//object to shape index number% y b' f2 a, D k; Y" \+ y$ A5 N8 \
//PROSEEND
* p$ c6 \6 j# @9 T5 a" o" Y$ O/ Q( t$ M' y
int theindex =2 ]7 [; E' O3 ?$ L
//PARAMSTART
* n* V- b2 y0 R4 m7 B3 K( P2 Q 1
: I4 ^7 @3 @3 ^" x# {3 E& T+ |//PARAMEND* I! J5 @0 G3 y% N
;
2 y% E( D& r- l) V( `//PROSESTART
2 ~- {! A) |! ~6 E& X8 \% z//.
: N$ l- Q( U6 i" i t, D/ g7 o//PROSEEND' y' m& p/ f6 F, Q/ O( d
% Q+ J T, `2 c( \# `! J: c1 H: {setobjectshapeindex(theobject,theindex);6 A7 l6 U& Y0 w: o# C
- L; a% B# L( X+ Y: z
怎么用?
5 B+ X4 H" q4 g4 M, l! S如果这种方法可行,那么是在onentry里用,还是在onsetupfinish里用呢?
2 @ A# V5 D. V$ s- J! I请指教! |
|