/// イベントの登録 public bool Add( ActorEventId eveId, int eveAtb, Vector3 pos ) { /// 登録許容量OVER if( eveParamList.Count >= entryMax ){ return false; } eveParamList.Add( new GameActorEventParam() ); eveParamList[(eveParamList.Count-1)].EventId = eveId; eveParamList[(eveParamList.Count-1)].EventAtb = eveAtb; eveParamList[(eveParamList.Count-1)].TrgPos = pos; return true; }
/// イベントの登録 public bool Add( ActorEventId eveId, int eveAtb, GameObjProduct obj ) { /// 登録許容量OVER if( eveParamList.Count >= entryMax ){ return false; } eveParamList.Add( new GameActorEventParam() ); eveParamList[(eveParamList.Count-1)].EventId = eveId; eveParamList[(eveParamList.Count-1)].EventAtb = eveAtb; eveParamList[(eveParamList.Count-1)].TrgObj = obj; return true; }