void Start() { GhostReference = GetComponent <GhostReference>(); if (isoSorting != null) { isoSorting.Resolve(this); } UpdateChildren(); }
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; }