コード例 #1
0
        //-------------------------------------------------------------------------
        // 往黑板上读出玩家操作类型
        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);
        }
コード例 #2
0
 //-------------------------------------------------------------------------
 // 往黑板上写入玩家操作类型
 public void writeBlackboardPlayerOperateType(PlayerOperateType player_operate_type)
 {
     Bt.Blackboard.setData("PlayerOperateType", player_operate_type);
 }