コード例 #1
0
        private void Awake()
        {
            this.clampTransform = this.GetComponent <ClampTransform>();
            this.movePhysics    = this.GetComponent <MovePhysics2D>();
            this.healthMeter    = this.GetComponent <Meter>();

            this.defaultSpeed = this.psSpeedMultiplierRange.x + (this.psSpeedMultiplierRange.y - this.psSpeedMultiplierRange.x);
        }
コード例 #2
0
 private void Awake()
 {
     this.physics = this.GetComponent <MovePhysics2D>();
 }