Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • 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 Brandon 8 · Jan 12, 2011 at 07:45 PM · errormenupausebce0005

Pause Menu Script Help?

Ok so i copied the javasript from here and made a new javascript for my game and named it pause menu. I added it to my main menu and tried going to the game view and got this error:

Assets/Pause Menu.js(52,44): BCE0005: Unknown identifier: 'SepiaToneEffect'.

How to fix?

Comment
Add comment
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

4 Replies

· Add your reply
  • Sort: 
avatar image
2

Answer by Justin Warner · Jan 12, 2011 at 08:13 PM

Or, above all else, you can not copy peoples code, and actually hand code it and use it as an example, and code from it to guide you along your way like it's meant to...

The sepia effect is obviously used by the actual creator... And it's an easy fix, and it's probably in the first tutorial on Java programming that you look up to on Google/Youtube, but to be honest, I think you should learn the hard way rather than have others code for you...

Comment
Add comment · Show 1 · 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
avatar image tobymac208 · Feb 27, 2016 at 10:00 PM 0
Share

I know this comment is old, but for anyone else that actually thinks like you.. hell with them!

We all started out somewhere, I myself wanted to get this asset because it's free, and I'm in a rush to get the game that I'm working on completed.

$$anonymous$$y next project would guide me to take more time and learn how to create my own "Advanced Pause $$anonymous$$enu", but for now, there is NOTHING wrong with trying to use a cool asset for an indie game.

Stop harassing people you dick!

avatar image
0

Answer by Bob5602 · Jan 12, 2011 at 07:55 PM

Make sure you define the identifier 'SepiaToneEffect'

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
avatar image
0

Answer by Borgo · Jan 12, 2011 at 07:55 PM

It seens that you script refer to a variable named SepiaToneEffect but it's not declared first.

Or refer to a component (or script) that is not applied to your GameObject, in this case, make sure you are using the GetComponent() function and the component is applied to your gameobject.

UPDATE:

Here is the line of the your script:
pauseFilter = Camera.main.GetComponent(SepiaToneEffect);
You need to add a component called SepiaToneEffect to your main camera.
This effect only works on Pro version, to have access to this component you need to "Import package", go to your unity install folder and search for pro package:

C:\Program Files\Unity\Editor\Standard Packages\Pro Standard Assets.unityPackage

Hope this help you. Good look!

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
avatar image
0

Answer by $$anonymous$$ · Jan 17, 2011 at 03:37 AM

You should be able to comment out that line.

I've started a thread on the Unity forum for general discussion on the pause menu script - http://forum.unity3d.com/threads/74127-UnifyCommunity-PauseMenu

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.

Follow this Question

Answers Answers and Comments

1 Person is following this question.

avatar image

Related Questions

Pause Menu select error 0 Answers

Pause Menu 3 Answers

hi i just got the ultimate fps camera and it is not compatible with pausemenus 0 Answers

Restart Problem 1 Answer

How to disable pausing on main menu drop down? 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges