コード例 #1
0
        private VoreChar AddPred(BasicChar pred)
        {
            VoreChar otherPred = Instantiate(prefab, transform);

            otherPred.name = pred.name;
            //  otherPred.Setup(pred);
            return(otherPred);
        }
コード例 #2
0
 private void Start()
 {
     transform.KillChildren();
     playerPred = AddPred(player);
 }