Пример #1
0
 void Start()
 {
     if (this.Player != null)
     {
         this.PlayerController = this.Player.GetComponent <PlayerController>();
     }
     this.CurrentCommand = new WorkBasicMatterCommand();
     this.CurrentHealth  = this.MaxHealth;
 }
Пример #2
0
 public void SetWorkingMana()
 {
     this.CurrentWorkingMode = WorkingMode.Mana;
     this.CurrentCommand     = new WorkManaCommand();
 }
Пример #3
0
 public void SetWorkingBasic()
 {
     this.CurrentWorkingMode = WorkingMode.BasicMatter;
     this.CurrentCommand     = new WorkBasicMatterCommand();
 }
Пример #4
0
 public void SetWorkingEnergy()
 {
     this.CurrentWorkingMode = WorkingMode.Energy;
     this.CurrentCommand     = new WorkEnergyCommand();
 }
Пример #5
0
 public void SetWorkingMatter()
 {
     this.CurrentWorkingMode = WorkingMode.Matter;
     this.CurrentCommand     = new WorkMatterCommand();
 }