void Awake() { mesh = GetComponent <MeshFilter>().mesh; sketchFace = sketchCube.GetComponent <SketchFace>(); enableComponent = enableComponentManager.GetComponent <EnableComponent>(); DecidePlayerDistance(); }
private void Awake() { sketchMovement = sketchCube.GetComponent <SketchMovement>(); sketchFace = sketchCube.GetComponent <SketchFace>(); moveVertice = sketchCube.GetComponent <MoveVertice>(); modelMovement = blueModel.GetComponent <ModelMovement>(); DisableAllComponent(); show = false; cityModelFollow.SetActive(show); }
void Awake() { sketchFace = GetComponent <SketchFace>(); sphere4 = GameObject.CreatePrimitive(PrimitiveType.Sphere); sphere4.transform.localScale = new Vector3(0.02f, 0.02f, 0.02f); sphere5 = GameObject.CreatePrimitive(PrimitiveType.Sphere); sphere5.transform.localScale = new Vector3(0.02f, 0.02f, 0.02f); sphere6 = GameObject.CreatePrimitive(PrimitiveType.Sphere); sphere6.transform.localScale = new Vector3(0.02f, 0.02f, 0.02f); sphere7 = GameObject.CreatePrimitive(PrimitiveType.Sphere); sphere7.transform.localScale = new Vector3(0.02f, 0.02f, 0.02f); }
private void Awake() { sketchFace = sketchCube.GetComponent <SketchFace>(); }
void Awake() { sketchFace = GetComponent <SketchFace>(); }