public Obstacle(GameObjectParameter parameter) : this(parameter.Position) { }
public static GameObject GetGameObject(this AIRuntimeController controller, string name) { GameObjectParameter param = (GameObjectParameter)controller.GetParameter(name); return(param != null ? param.Value : null); }
public static GameObject GetValue(this AIRuntimeController controller, GameObjectParameter param) { return(string.IsNullOrEmpty(param.Name) ? param.Value : controller.GetGameObject(param.Name)); }
public static void SetGameObject(this AIRuntimeController controller, string name, GameObject go) { GameObjectParameter param = (GameObjectParameter)controller.GetParameter(name); param.Value = go; }
public Platform(GameObjectParameter parameter) : this(parameter.Position) { }