void Start()
 {
     health   = 100;
     sound    = Sound.Instance;
     canMove  = true;
     block    = BlockButton.Instance;
     player   = Player.Instance;
     switcher = PlayerModelSwitcher.Instance;
     joystick = VirtualJoystick.Instance;
 }
Пример #2
0
 void Start()
 {
     health              = 100;
     sound               = Sound.Instance;
     canMove             = true;
     block               = BlockButton.Instance;
     player              = Player.Instance;
     switcher            = PlayerModelSwitcher.Instance;
     joystick            = VirtualJoystick.Instance;
     calculatedDamage    = (int)(900.0f / ((float)player.Armor));
     calculatedLifesteal = ((int)(player.Damage * (player.Lifesteal) * .3));
     Debug.Log(calculatedLifesteal);
 }
Пример #3
0
 void Awake()
 {
     Instance = this;
 }