예제 #1
0
파일: State.cs 프로젝트: robot0x/GVBASIC
    // Update is called once per frame
    void Awake()
    {
        m_stateMgr = GetComponentInParent <StateMgr>();
        m_stateMgr.AddState(this);

        onInit();
    }
예제 #2
0
파일: State.cs 프로젝트: RockyF/GVBASIC
	// Update is called once per frame
	void Awake () 
	{
        m_stateMgr = GetComponentInParent<StateMgr>();
        m_stateMgr.AddState(this);

        onInit();
	}