//------------------------------------------------------------------------- // 往黑板上读出玩家操作类型 public PlayerOperateType readBlackboardPlayerOperateType() { object o = Bt.Blackboard.getData("PlayerOperateType"); //if (o == null) return PlayerOperateType.None; PlayerOperateType player_operate_type = (PlayerOperateType)o; return(player_operate_type); }
//------------------------------------------------------------------------- // 往黑板上写入玩家操作类型 public void writeBlackboardPlayerOperateType(PlayerOperateType player_operate_type) { Bt.Blackboard.setData("PlayerOperateType", player_operate_type); }