コード例 #1
0
ファイル: MoveAbility.cs プロジェクト: KjeldSchmidt/IGGJ2020
 public override void StartUsingAbility()
 {
     _shapeContainer = transform.parent.parent.GetComponent <ShapeContainer>();
     _shapeContainer.SetGravityScale(gravityScale);
     _shapeContainer.SetMaxVelocity(maxVelocity);
     _started = true;
 }