Beispiel #1
0
        protected override void Awake()
        {
            base.Awake();

            if (bAnchorCursorPlacer == null)
            {
                bAnchorCursorPlacer = GetComponent <BAnchorCursorPlacer>();
            }
        }
Beispiel #2
0
        protected override void OnValidate()
        {
            base.OnValidate();

            if (CanValidate() == false)
            {
                return;
            }

            if (bAnchorCursorPlacer == null)
            {
                bAnchorCursorPlacer = GetComponent <BAnchorCursorPlacer>();
            }
        }