Esempio n. 1
0
 public void setPieceMovement(PieceMovementTs pm)
 {
     movement = pm;
 }
Esempio n. 2
0
        private PieceMovementTs movement;    // will handle all piece movement

        //Basically this works as the constructor
        public void Start()
        {
            isKinged = false;
            movement = gameObject.GetComponent <PieceMovementTs>();
        }