protected virtual void Start()
        {
            // NOTE:
            // SampleBoundsBaseManagedObject cannot get in Awake()
            // because it is attached after registration into Manager with AddManagedObject().

            this.sampleBoundsBasedManagedObject = base.GetComponent <SampleBoundsBasedManagedObject>();
        }
Esempio n. 2
0
        protected virtual void Start()
        {
            // NOTE:
            // SampleBoundsBaseManagedObject cannot get in Awake()
            // because the component is added after instantiation of this.
            // Awake() is just called after instantiation.

            this.sampleBoundsBasedManagedObject = base.GetComponent <SampleBoundsBasedManagedObject>();
        }