Ejemplo n.º 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);
        }
Ejemplo n.º 2
0
 private void Awake()
 {
     this.physics = this.GetComponent <MovePhysics2D>();
 }