डिक्लेरेशन
func SwitchNewCamera(player entity<Player>, basicCamera entity<CustomCamera>, transitionType CameraTransitionType, transitionTime float)
go
पैरामीटर्स
इनपुट
नाम | टाइप | विवरण |
---|---|---|
Player | Player | target player |
Camera | BasicCamera | target camera |
Transition Type | CameraTransitionType | Switching method, you can choose to keep the original logic or progressive |
Transition Time (ms) | Float | Switching time is the time to switch cameras in progressive mode |