Exemplo n.º 1
0
 public void AddScript(UnityScript script)
 {
     if (_containersCount == _containers.Length)
     {
         Array.Resize(ref _containers, _containersCount << 1);
     }
     _containers[_containersCount++] = script;
 }
Exemplo n.º 2
0
 public void AddAndPrepareScript(UnityScript unityScript)
 {
     AddAndPrepare(unityScript);
     scriptContainer.AddScript(unityScript);
 }