예제 #1
0
    private void LoadHero()
    {
        Debug.Log("--------------------");
        TestEnity _t = new TestEnity();
        GlobalData.hero = _t;

        EnemyEnity _enemy = new EnemyEnity();
        _enemy.MyEnity.SetProperty("position", new Vector3(12, 0, 0));
        _enemy.MyEnity.SetProperty("patrolTarget", _t.MyEnity);

        _t.MyEnity.SetProperty("patrolTarget",_enemy.MyEnity);
    }
예제 #2
0
 private void Test()
 {
     TestEnity _t = new TestEnity();
     return;
     TestMemoryStream.TestWrite();
 }