Пример #1
0
        private void Awake()
        {
            movement = GetComponent <TileMovement> ();
            Vector2 myPosition = new Vector2(Mathf.Round(transform.position.x), Mathf.Round(transform.position.y));

            FillPosition(myPosition);
        }
Пример #2
0
 private void Awake()
 {
     movement = GetComponent <TileMovement>();
 }