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

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

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

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