private void CreateBiped(Biped biped, Vector3 position) { GameObject newBipedGameObject = Instantiate(biped.gameObject, position, Quaternion.identity, Globals.singleton.containers.bipeds); Biped newBiped = newBipedGameObject.GetComponent <Biped>(); _bipeds.Add(newBiped); newBiped.SetAspects(this); newBiped.SetDesign(_profile.bipedDesigns[_bipeds.Count - 1]); OutputBipedCounts(); }
private void Awake() { inputter.SetAspects(this); biped.SetAspects(this); cameraController.SetAspects(this); }