Actor.Awake C# (CSharp) 메소드

Awake() 공개 메소드

public Awake ( ) : void
리턴 void
    void Awake()
    {
        GameObject cam = GameObject.FindGameObjectWithTag("MainCamera");
        me = GetComponent<Enemy>();
        control = GetComponent<NodeControl>();
        canMove = false;
        //control = (NodeControl)cam.GetComponent(typeof(NodeControl));
        target = null;
        targPos = gameObject.transform.position;
        force = 10;
    }