Beispiel #1
0
 void Start()
 {
     knightFromSkript = knight.gameObject.GetComponent <wasd>();
     coolDownOver     = true;
     loadSkill        = FindObjectOfType <loadSkillTreeScen>();
     regenSkill       = knight.GetComponent <Knight_HealthSystem>();
     timeForCoolDown  = coolDown;
 }
Beispiel #2
0
 void Start()
 {
     knightFromSkript = knight.gameObject.GetComponent <wasd>();
     coolDownOver     = true;
     coolDownForSkill = coolDown;
     target           = GameObject.FindGameObjectWithTag("a").GetComponent <Transform>();
     test             = FindObjectOfType <loadSkillTreeScen>();
     stamina          = FindObjectOfType <Knight_HealthSystem>();
 }
Beispiel #3
0
 void Start()
 {
     filePathF5 = "C:/Users/" + Environment.UserName + "/Documents/" + Application.productName + "/Saves/" + "QuickSave-" + Application.loadedLevel + ".save";
     ErrorButton.SetActive(false);
     ErrorRename.SetActive(false);
     saveMenu.SetActive(false);
     Directory.CreateDirectory("C:/Users/" + Environment.UserName + "/Documents/" + Application.productName + "/Saves/");
     boolHere      = FindObjectOfType <loadSkillTreeScen>();
     stats         = FindObjectOfType <knightStats>();
     checkForSword = FindObjectOfType <wasd>();
     hpManaStamina = FindObjectOfType <Knight_HealthSystem>();
     nameOfText    = FindObjectOfType <SaveLoadManager>();
     inventory     = FindObjectOfType <Inventory>();
     AutoLocalSave.interactable = false;
     QuickSave.interactable     = false;
 }
Beispiel #4
0
 void Start()
 {
     ataka     = knight.GetComponent <wasd>();
     freez     = FindObjectOfType <loadSkillTreeScen>();
     LoadSkill = FindObjectOfType <loadSkillTreeScen>();
 }