private void Awake()
    {
        GameObject instance = Instantiate(
            tileSelectionIndicatorPrefab, transform
            ) as GameObject;

        marker       = instance.transform;
        InputHandler = gameObject.AddComponent <EditorInputHandler>();
        InputHandler.Initialize(this);
    }
Beispiel #2
0
    private void Awake()
    {
        GameObject instance = Instantiate(
            tileSelectionIndicatorPrefab, transform
            ) as GameObject;

        marker = instance.transform;
        MoveAndUpdateMarker(new Point(0, 0));
        Current      = gameObject.AddComponent <Board> ();
        InputHandler = gameObject.AddComponent <EditorInputHandler> ();
        InputHandler.Initialize(this);
    }