コード例 #1
0
ファイル: Block.cs プロジェクト: ronforbes/BlockParty_backup
 // Set the block up to slide with the state it will need once the slide finishes
 public void SetupSlide(BlockSlideDirection direction, Block targetBlock)
 {
     SlideDirection                    = direction;
     slideTargetState                  = targetBlock.State;
     slideTargetType                   = targetBlock.Type;
     slideTargetRendererScale          = targetBlock.Renderer.Scale;
     slideTargetRendererAnimationState = targetBlock.Renderer.AnimationState;
 }
コード例 #2
0
ファイル: Block.cs プロジェクト: ronforbes/BlockParty_backup
 // Set the block up to slide with the state it will need once the slide finishes
 public void SetupSlide(BlockSlideDirection direction, Block targetBlock)
 {
     SlideDirection = direction;
     slideTargetState = targetBlock.State;
     slideTargetType = targetBlock.Type;
     slideTargetRendererScale = targetBlock.Renderer.Scale;
     slideTargetRendererAnimationState = targetBlock.Renderer.AnimationState;
 }