Exemple #1
0
        public DeletionUpdate(GameObject gameObject, DeletionUpdateModuleData moduleData)
        {
            _gameObject = gameObject;
            _moduleData = moduleData;

            _frameToDelete = gameObject.GameContext.GameLogic.CurrentFrame + gameObject.GameContext.GetRandomLogicFrameSpan(_moduleData.MinLifetime, _moduleData.MaxLifetime);
        }
Exemple #2
0
 public DeletionUpdate(GameObject gameObject, DeletionUpdateModuleData moduleData)
 {
     _gameObject = gameObject;
     _moduleData = moduleData;
 }