private string _name; // first field will be showed in inspector #endregion Fields #region Constructors public ObjectCrtn(MethodOneParam<ObjectCrtn> onEnd, IEnumerator coroutineEnumerator, MethodExceptionParam onException, GameObject obj, ObjectCrtn parentCoroutine) { _onException = onException; _onEnd = onEnd; _gameObject = obj; _name = "NOT STARTED YET"; ParentCoroutine = parentCoroutine; CoroutineEnumerator = coroutineEnumerator; if (parentCoroutine != null) parentCoroutine.SetChild(this); }
public ObjectCrtn(MethodOneParam <ObjectCrtn> onEnd, IEnumerator coroutineEnumerator, MethodExceptionParam onException, GameObject obj, ObjectCrtn parentCoroutine) { _onException = onException; _onEnd = onEnd; _gameObject = obj; _name = "NOT STARTED YET"; ParentCoroutine = parentCoroutine; CoroutineEnumerator = coroutineEnumerator; if (parentCoroutine != null) { parentCoroutine.SetChild(this); } }
public ObjectRetCrtn(MethodOneParam <ObjectCrtn> onEnd, IEnumerator enumerator, MethodExceptionParam onException, GameObject obj, ObjectCrtn parent) : base(onEnd, enumerator, onException, obj, parent) { }