private void _getPathProxy() { GameObject go = path.OwnerOption == OwnerDefaultOption.UseOwner ? Owner : path.GameObject.Value; if (go == null) { return; } _pathProxy = go.GetComponent<FsmNavMeshPath>(); }
private void _getNavMeshPathProxy() { GameObject go = calculatedPath.OwnerOption == OwnerDefaultOption.UseOwner ? Owner : calculatedPath.GameObject.Value; if (go == null) { return; } _NavMeshPathProxy = go.GetComponent<FsmNavMeshPath>(); }