Show / Hide Table of Contents

Class UnityLifeCycleEventCapture

An event that represents an event that occurs to a monobehavior instance.

Inheritance
System.Object
Capture<UnityLifeCycleEvent>
UnityLifeCycleEventCapture
Implements
ICapture
Inherited Members
Capture<UnityLifeCycleEvent>.Time
Capture<UnityLifeCycleEvent>.Value
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Recolude.Core
Assembly: Recolude.Core.dll
Syntax
[Serializable]
public class UnityLifeCycleEventCapture : Capture<UnityLifeCycleEvent>, ICapture

Constructors

UnityLifeCycleEventCapture(Single, UnityLifeCycleEvent)

Create a new UnityLifeCycleEventCapture.

Declaration
public UnityLifeCycleEventCapture(float time, UnityLifeCycleEvent lifeCycleEvent)
Parameters
Type Name Description
System.Single time

The time the event occured in the recording.

UnityLifeCycleEvent lifeCycleEvent

The lifecycle event that occured

Methods

SetTime(Single)

Creates a new UnityLifeCycleEventCapture with lifecycle event but with a modified time, leaving the original event unchanged.

Declaration
public override ICapture SetTime(float newTime)
Parameters
Type Name Description
System.Single newTime

The new time the event occured in the recording.

Returns
Type Description
ICapture

A entirely new capture that occured with the time passed in.

Overrides
Recolude.Core.Capture<Recolude.Core.UnityLifeCycleEvent>.SetTime(System.Single)

ToCSV()

Builds a string that represents a single row in a csv file that contains this object's data.

Declaration
public override string ToCSV()
Returns
Type Description
System.String

A row of csv data as a string.

Overrides
Recolude.Core.Capture<Recolude.Core.UnityLifeCycleEvent>.ToCSV()

ToJSON()

Builds a JSON string that represents the UnityLifeCycleEventCapture object.

Declaration
public override string ToJSON()
Returns
Type Description
System.String

A JSON string.

Overrides
Recolude.Core.Capture<Recolude.Core.UnityLifeCycleEvent>.ToJSON()

Implements

ICapture

Extension Methods

ICaptureExtensions.FallsWithin(ICapture, Single, Single)
ICaptureExtensions.FallsWithin(ICapture, Vector2)
Back to top Generated by DocFX