コード例 #1
0
 // triggers are events, not states, so they don't extrapolate.
 public override void CopyFrom(FrameBase sourceFrame)
 {
     base.CopyFrom(sourceFrame);
     this.content = FrameContents.Empty;
     this.contactRecords.Clear();
 }
コード例 #2
0
ファイル: SyncShootBase.cs プロジェクト: ajinkya2020/FPS-GAME
 public override void CopyFrom(FrameBase sourceFrame)
 {
     /// We do not want to copy triggers (would produce new trigger events)
     triggerMask = 0;
 }
コード例 #3
0
 /// <summary>
 /// Override this with frame initialization code. The default base just creates the frame instances and assigns them index values.
 /// </summary>
 protected virtual void PopulateFrames()
 {
     /// Basic factory, just gives each frame an index.
     FrameBase.PopulateFrames(ref frames);
 }