Class TransformDataLog
A GameObject transform DataLog. This DataLog only contains the position and the rotation, as scale isn't really important.
[Serializable]
public class TransformDataLog : DataLog
Inheritance
Constructors
TransformDataLog(Transform)
Initializes a new instance of the TransformDataLog class with a Transform object.
public TransformDataLog(Transform transform)
Parameters
| Name | Type | Description |
|---|---|---|
transform | Transform | The Transform whose data is to be logged. |
TransformDataLog(GameObject)
Initializes a new instance of TransformDataLog class with a GameObject.
public TransformDataLog(GameObject obj)
Parameters
| Name | Type | Description |
|---|---|---|
obj | GameObject | The GameObject whose transform data is to be logged. |