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