public void SpawnKitty(KittyBehaviour kittyBehaviour) { KittyUnit newUnit = GameController.Instantiate(kittyBehaviour.Stats.GameUnitObject) as KittyUnit; newUnit.Init(kittyBehaviour); newUnit.transform.position = Vector3.zero; }
public void SpawnPreparedKitty() { PreparedKitty.Init(PreparedKittyBehaviour); PreparedKitty.transform.SetParent(null); RaycastValidPosition = false; }