public static void InitializeObject(object obj) { var awakeble = obj as IAwake; if (awakeble != null) { awakeble.OnAwake(); } ProcessorUpdate.Add(obj); }
void OnEnable() { if (Starter.initialized == false) { return; } HandleEnable(); ProcessorSignals.Default.Add(this); ProcessorUpdate.Add(this); }