コード例 #1
0
ファイル: TripWire.cs プロジェクト: Chad18Z/WillShiptoNeptune
 /// <summary>
 /// Adding listener for event for changing enabled tool in UI
 /// </summary>
 /// <param name="listener"></param>
 public void AddChangeSelectionTripWireListener(UnityAction <Constants.Tools> listener)
 {
     changeSelectionEvent.AddListener(listener);
 }
コード例 #2
0
 /// <summary>
 /// Add listener to event for changing enabled tool in UI
 /// </summary>
 /// <param name="listener"></param>
 public void AddChangeSelectionStasisGrenadeListener(UnityAction <Constants.Tools> listener)
 {
     selectionChangeEvent.AddListener(listener);
 }