• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by BenLeggiero · May 03, 2014 at 06:24 AM · disablingcutinput setting

No user input without checking on every update?

It's a cutscene and I want to ignore all input. I'd rather remove user controls completely while it plays and then re-add them after than check if it's a cutscene for every single frame. How can I do this?

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image iamvishnusankar · May 03, 2014 at 06:28 AM 0
Share

Are you using C# controller scripts? Which language you use to script?

avatar image aclee · May 03, 2014 at 08:24 AM 0
Share

how do you start the cutscene? is it a trigger or something else?

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by bloodyatheist · May 03, 2014 at 10:04 AM

you can do this in many ways and they mostly depend on the way you implemented the game.

one way is to have some boolean or anything else that indicate that your in a cutscene and add to your input conditions

     if(...&&!CutScenePlaying)
     {
     ...
     }

or you can remove/disable the scripts that are used for input in the beginning of a cutscene and then add/enable them at the end

it all depends on your implementation..

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

23 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Start/Awake cut off at a certain point? 1 Answer

Disabling Collision Object 1 Answer

Getting data from other scene or script 1 Answer

How to cut meshes ? 0 Answers

How do you disable a c# from a js script? 1 Answer

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges