P
Size: a a a
P
А
А
P
А
P
А
P
А
P
AD
AD
int i = index / intList.Length;
int y = index - intList.Length * i;
f = nativeLevels[intList[y]];
AD
AD
intList
RM
intList
AD
AD
public void Execute( int index , TransformAccess transform ) {
//Debug.Log( "Job" );
float f = 0.0f;
int i = index / intList.Length;
int y = index - intList.Length * i;
f = nativeLevels[intList[y]];
switch ( chunkMode ) {
case TransValues.ChunkMode.jump:
Vector3 pos = transform.position;
transform.position = new Vector3( pos.x , JumpHeight( f ) > 0.55f ? 0.55f : JumpHeight( f ) , pos.z );
break;
case TransValues.ChunkMode.pulse:
float slc = PulsePower( f );
transform.localScale = new Vector3( slc , slc , slc );
break;
}
}
AD