コード例 #1
0
ファイル: DummyEvents.cs プロジェクト: TFM-AEIS/TFM
 /// <summary>
 /// Raises the stack group event event.
 /// </summary>
 public void OnStackGroupEvent(StackGroup.StackGroupEventDescriptor desc)
 {
     if (showStackEventsInfo == true)
     {
         string log = " - Stack group event - \n";
         log += "Source group: " + desc.sourceGroup.name + "; ";
         log += "Source cell: " + desc.sourceCell.name + "; ";
         log += "Destination group: " + desc.destinationGroup.name + "; ";
         log += "Destination cells: ";
         foreach (StackCell cell in desc.destinationCells)
         {
             log += cell.name + " ";
         }
         Debug.Log(log);
     }
 }
コード例 #2
0
ファイル: QuickSlotGroup.cs プロジェクト: TFM-AEIS/TFM
 /// <summary>
 /// Raises the stack group event.
 /// </summary>
 public void OnStackGroupEvent(StackGroup.StackGroupEventDescriptor desc)
 {
     // Remove unresolved items after any stack group event
     RemoveUnresolvedItems();
 }
コード例 #3
0
ファイル: DummyParameters.cs プロジェクト: TFM-AEIS/TFM
 /// <summary>
 /// Raises the stack group event event.
 /// </summary>
 public void OnStackGroupEvent(StackGroup.StackGroupEventDescriptor desc)
 {
     UpdateParameters();
 }