// Use this for initialization void Start() { enhance = CharacterInstance.Instance.GetEnhancements(); canvas.gameObject.SetActive(false); fireEnhancements.gameObject.SetActive(false); waterEnhancements.gameObject.SetActive(false); earthEnhancements.gameObject.SetActive(false); lightningEnhancements.gameObject.SetActive(false); fireSlot1.gameObject.SetActive(false); fireSlot2.gameObject.SetActive(false); fireSlot3.gameObject.SetActive(false); fireSlot4.gameObject.SetActive(false); fireSlot5.gameObject.SetActive(false); waterSlot1.gameObject.SetActive(false); waterSlot2.gameObject.SetActive(false); waterSlot3.gameObject.SetActive(false); waterSlot4.gameObject.SetActive(false); waterSlot5.gameObject.SetActive(false); earthSlot1.gameObject.SetActive(false); earthSlot2.gameObject.SetActive(false); earthSlot3.gameObject.SetActive(false); earthSlot4.gameObject.SetActive(false); earthSlot5.gameObject.SetActive(false); lightningSlot1.gameObject.SetActive(false); lightningSlot2.gameObject.SetActive(false); lightningSlot3.gameObject.SetActive(false); lightningSlot4.gameObject.SetActive(false); lightningSlot5.gameObject.SetActive(false); }
//public static bool firstFire; // Use this for initialization void Start() { inventory = gameObject.GetComponent <CharacterInventory>(); weapon = gameObject.GetComponent <CharacterWeapon>(); enhance = gameObject.GetComponent <WeaponEnhancements>(); inBattle = false; startHealth = 20.0f; health = startHealth; lifeFragments = 0; extraLives = 0; positionOfInBattle = 30.0f; //firstFire = false; }