// Use this for initialization public Skill() { castTime = 10; gameController = GameObject.FindObjectOfType<GameController>() as GameController; icePopup = GameObject.FindObjectOfType<IcebreakerPopup>() as IcebreakerPopup; }
// Use this for initialization public Skill() { castTime = 10; gameController = GameObject.FindObjectOfType <GameController>() as GameController; icePopup = GameObject.FindObjectOfType <IcebreakerPopup>() as IcebreakerPopup; }