예제 #1
0
        void OnDrawGizmosSelected()
        {
            var iso_world = isoWorld;

            if (iso_world && iso_world.isShowDepends)
            {
                for (int i = 0, e = Internal.SelfDepends.Count; i < e; ++i)
                {
                    IsoUtils.DrawLine(
                        Internal.QTBounds.center,
                        Internal.SelfDepends[i].Internal.QTBounds.center,
                        Color.yellow,
                        Color.cyan,
                        0.25f);
                }
                for (int i = 0, e = Internal.TheirDepends.Count; i < e; ++i)
                {
                    IsoUtils.DrawLine(
                        Internal.QTBounds.center,
                        Internal.TheirDepends[i].Internal.QTBounds.center,
                        Color.yellow,
                        Color.cyan,
                        0.75f);
                }
            }
        }