예제 #1
0
 // Start is called before the first frame update
 void Start()
 {
     systemBehavior = GetComponent <ChangePartsSystemBehavior>();
     selectedObject = null;
     selectObject   = null;
     soRenderer     = null;
     modeText       = GameObject.Find("ChangeModeText").GetComponent <TextMesh>();
 }
예제 #2
0
 // Start is called before the first frame update
 void Start()
 {
     Initialize();
     frontLerpMode             = false;
     oldLerpMode               = false;
     isMove                    = false;
     changePartsSystemBehavior = GameObject.Find("GameSystem").GetComponent <ChangePartsSystemBehavior>();
     //leftMove = true;
 }
예제 #3
0
    // Start is called before the first frame update
    void Start()
    {
        lerpBehaviour  = GetComponent <LerpBehaviour>();
        objectBehavior = GetComponent <ObjectBehavior>();
        systemBehavior = GameObject.Find("GameSystem").GetComponent <ChangePartsSystemBehavior>();
        renderer       = GetComponent <Renderer>();
        Color color;

        color = (lerpBehaviour.leftMove) ? Color.blue : Color.red;
        renderer.material.color = color;
    }
예제 #4
0
 void Start()
 {
     onNormal = new Vector3();
     isFly    = true;
     changePartsSystemBehavior = GameObject.Find("GameSystem").GetComponent <ChangePartsSystemBehavior>();
 }