コード例 #1
0
        void Start()
        {
            GhostReference = GetComponent <GhostReference>();

            if (isoSorting != null)
            {
                isoSorting.Resolve(this);
            }
            UpdateChildren();
        }
コード例 #2
0
        private void Start()
        {
            IsoTransform = GetComponent <IsoTransform>();

            Animator = GetComponent <Animator>();

            GhostReference = GetComponent <GhostReference>();

            // Disable auto updating position - fixes movement due to weird as code in this library
            GhostReference.GhostObject.GetComponent <Ghost>().AutoUpdatePosition = false;
        }