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