Пример #1
0
 public void Construct(SumoBehaviour _sumoBehaviour,
                       SumoAnimator _sumoAnimator)
 {
     m_sumoBehaviour = _sumoBehaviour;
     m_sumoAnimator  = _sumoAnimator;
 }
Пример #2
0
        protected virtual void Start()
        {
            SumoBehaviour result = m_factory.Create(m_game.sumoGet(m_sumoType));

            result.trans.position = m_transSpawnPoint.position;
        }