private VoreChar AddPred(BasicChar pred) { VoreChar otherPred = Instantiate(prefab, transform); otherPred.name = pred.name; // otherPred.Setup(pred); return(otherPred); }
private void Start() { transform.KillChildren(); playerPred = AddPred(player); }