Method GetExtraState
GetExtraState<T>(ICinemachineCamera)
Because extensions can be placed on manager cams and will in that case be called for all the vcam children, vcam-specific state information should be stored here. Just define a class to hold your state info and use it exclusively when calling this.
Declaration
protected T GetExtraState<T>(ICinemachineCamera vcam) where T : class, new()
Parameters
Type | Name | Description |
---|---|---|
ICinemachineCamera | vcam |
Returns
Type | Description |
---|---|
T |
Type Parameters
Name | Description |
---|---|
T |