Actor.Awake C# (CSharp) Method

Awake() public method

public Awake ( ) : void
return 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;
    }