Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static ControlSet GetControls() {
- if(Application.isEditor)
- return new PcControls();
- switch(Application.platform) {
- #if !DISABLE_SYSTEM
- case RuntimePlatform.WindowsPlayer:
- return new PcControls();
- case RuntimePlatform.Android:
- return new AndroidControls();
- #endif
- default:
- return new DummyControls();
- }
- }
Add Comment
Please, Sign In to add comment