Exemple #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);
    }
Exemple #2
0
 private void Test()
 {
     TestEnity _t = new TestEnity();
     return;
     TestMemoryStream.TestWrite();
 }