Esempio n. 1
0
        public void ApplyPositionDiff_WorksCorrectly()
        {
            _gameObject.Position = new Vector3(1, 1, 1);
            _saveOnlyStatefulGameObject.ApplyPositionDiff(new Vector3(1, 1, 1));

            Check.That(_gameObject.Position).Equals(new Vector3(2, 2, 2));
        }
Esempio n. 2
0
 public void ApplyPositionDiff(Vector3 vector3)
 {
     _saveGameObject.ApplyPositionDiff(vector3);
 }