AD
Size: a a a
AD
А
UM
AD
RM
AD
AD
P#
AD
P#
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;
}
}
P#
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
P#
AD
P#
AD