Beispiel #1
0
 private IRestartGameElement m_RestartElement;                       // Component attached to gameobject
 private void Awake()
 {
     // Get component attached to gameobject
     m_RestartElement = GetComponent <IRestartGameElement>();
 }
Beispiel #2
0
 public void AddRestartGameElement(IRestartGameElement RestartGameElement)
 {
     m_RestartGameElements.Add(RestartGameElement);
 }
Beispiel #3
0
 public void AddRestartGameElement(IRestartGameElement restartGameElement)
 {
     restartGameElements.Add(restartGameElement);
 }