public static SgtAuroraModel Create(SgtAurora aurora) { var model = SgtComponentPool <SgtAuroraModel> .Pop(aurora.transform, "Plane", aurora.gameObject.layer); model.Aurora = aurora; return(model); }
protected virtual void Start() { if (startCalled == false) { startCalled = true; if (Aurora == null) { Aurora = GetComponent <SgtAurora>(); } CheckUpdateCalls(); } }