Example #1
0
    void OnDrawGizmosSelected()
    {
        if (!XkGameCtrl.IsDrawGizmosObj)
        {
            return;
        }

        if (!enabled)
        {
            return;
        }

        if (!IsTestDrawPath || PlayerScript == null)
        {
            return;
        }
        PlayerScript.OnDrawPlayerPath();
    }