コード例 #1
0
 public void AddScript(UnityScript script)
 {
     if (_containersCount == _containers.Length)
     {
         Array.Resize(ref _containers, _containersCount << 1);
     }
     _containers[_containersCount++] = script;
 }
コード例 #2
0
 public void AddAndPrepareScript(UnityScript unityScript)
 {
     AddAndPrepare(unityScript);
     scriptContainer.AddScript(unityScript);
 }