コード例 #1
0
ファイル: Projectile.cs プロジェクト: GameDiffs/TheForest
 public void SetOnDetonationDelegate(Projectile.OnDetonation del)
 {
     this.OnDetonationDelegates = del;
 }
コード例 #2
0
ファイル: Projectile.cs プロジェクト: GameDiffs/TheForest
 public void AddOnDetonationDelegate(Projectile.OnDetonation del)
 {
     this.OnDetonationDelegates = (Projectile.OnDetonation)Delegate.Combine(this.OnDetonationDelegates, del);
 }
コード例 #3
0
ファイル: Projectile.cs プロジェクト: GameDiffs/TheForest
 public void RemoveOnDetonationDelegate(Projectile.OnDetonation del)
 {
     this.OnDetonationDelegates = (Projectile.OnDetonation)Delegate.Remove(this.OnDetonationDelegates, del);
 }