コード例 #1
0
    void Awake()
    {
        mesh            = GetComponent <MeshFilter>().mesh;
        sketchFace      = sketchCube.GetComponent <SketchFace>();
        enableComponent = enableComponentManager.GetComponent <EnableComponent>();

        DecidePlayerDistance();
    }
コード例 #2
0
    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);
    }
コード例 #3
0
    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);
    }
コード例 #4
0
 private void Awake()
 {
     sketchFace = sketchCube.GetComponent <SketchFace>();
 }
コード例 #5
0
 void Awake()
 {
     sketchFace = GetComponent <SketchFace>();
 }