public void usePowerOnShrine(Shrine s, God godUsingPower) { Debug.Log("Using fire power on Shrine!"); s.cycles = 5; s.delay = 2.0f; s.burner(); shrineLoc = s.transform.position; curShrine = s; // Object.Instantiate((Resources.Load("GodFire")).burner()) as GodPowerFire; // this.burner(); }