void Awake() { dicMove = new Dictionary<KeyCode, Vector3> (){ {KeyCode.A, new Vector2(-1,0) }, {KeyCode.D, new Vector2(1,0) }, {KeyCode.W, new Vector2(0,1) }, {KeyCode.S, new Vector2(0,-1) } }; world = new NWorld.World (10,10); pManager = new NGame.PlayerManager (); gManager.Init(world); pManager.Init (world, 0, 0); AwakeTest (); }
void Awake() { dicMove = new Dictionary <KeyCode, Vector3> () { { KeyCode.A, new Vector2(-1, 0) }, { KeyCode.D, new Vector2(1, 0) }, { KeyCode.W, new Vector2(0, 1) }, { KeyCode.S, new Vector2(0, -1) } }; world = new NWorld.World(10, 10); pManager = new NGame.PlayerManager(); gManager.Init(world); pManager.Init(world, 0, 0); AwakeTest(); }
void LinkEvents(NWorld.World world) { }