Example #1
0
    public void SpawnKitty(KittyBehaviour kittyBehaviour)
    {
        KittyUnit newUnit = GameController.Instantiate(kittyBehaviour.Stats.GameUnitObject) as KittyUnit;

        newUnit.Init(kittyBehaviour);
        newUnit.transform.position = Vector3.zero;
    }
Example #2
0
 public void SpawnPreparedKitty()
 {
     PreparedKitty.Init(PreparedKittyBehaviour);
     PreparedKitty.transform.SetParent(null);
     RaycastValidPosition = false;
 }