Exemple #1
0
        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);
        }
Exemple #2
0
        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);
            }
        }
Exemple #3
0
 public ObjectRetCrtn(MethodOneParam <ObjectCrtn> onEnd, IEnumerator enumerator, MethodExceptionParam onException, GameObject obj, ObjectCrtn parent) : base(onEnd, enumerator, onException, obj, parent)
 {
 }