Frequently when I open a Unity C# script in Visual Studio, the built-in Unity Engine types aren't recognized, so I don't get syntax highlighting or code completion hints for things like MonoBehaviour.    Sometimes if I delete the script and create a new one it works, but lately nothing I do solves the problem.  Is there something I can do?
The strange thing is that opened scripts or newly opened ones are working fine. It's the new created C# scripts that are not working.  With not working, I mean the MonoBehaviour is not in light blue color it's in black color. In this screenshot I took, I marked it with a red circle.    What have I tried so far? I have closed Visual Studio and started over again.  Since it didn't solve it, I closed the unity editor and started it over again, to no avail.  I pressed 'clean solution', I pressed 'rebuild solution', I pressed 'build solution'.  What else can I do ? And why are the other scripts working fine? If I type gameo...it will auto complete it to GameObject but in this specific script it's just not working.  This is a screenshot of the editor. I have in the Hierarchy a Ladder object.  In the Assets I created a folder name Ladder and a script name Ladder. But this Ladder script is not working.    This is the Ladder script and this script was working before but once I created another script inside the ladder folder name Raise empty script the Raise script didn't work and now the Ladder is not working either. But other scripts are working fine.  using System.Collections; using System.Collections.Generic; using UnityEngine;  public class Ladder : MonoBehaviour {     public Transform charcontroller;      private bool inside = false;     private float heightFactor = 3.2f;      private void OnTriggerEnter(Collider other)     {             inside = true;     }      private void OnTriggerExit(Collider other)     {             inside = false;     }      private void Update()     {         if (inside == true &amp;&amp; Input.GetKey("w"))             charcontroller.transform.position += Vector3.up / heightFactor;     } }
Self-Contained Proof that $\sum\limits_{n=1}^{\infty} \frac1{n^p}$ Converges for $p > 1$ Predicator vs. Predicate BACKGROUND According to Oxford Dictionaries Online:   means &quot;(In systemic grammar) a verb phrase considered as a constituent of clause structure, along with subject, object, and adjunct.&quot;  means &quot;The part of a sentence or clause containing a verb and stating something about the subject (e.g. went home in John went home).&quot;  In the latter example of John went home, it seems, the predicate is went home whereas the predicator is went, home being an adjunct and thus not part of the predicator as defined. Now, I looked further in  to better understand the difference. The article recognizes two competing notions of the predicate in theories of grammar:  (1) Predicates in traditional grammar (e.g., went home in John went home) (2) Predicates in modern theories of syntax and grammar (e.g., went in John went home)  Which, according to the article, causes confusion as to what exactly the term predicate mean, and some grammarians came up with a new term &quot;predicator&quot; specifically for use (2), says the article. No problem thus far. What bothers me: The article in its explanation of (2) says, &quot;Other function words -- e.g. auxiliary verbs, certain prepositions, phrasal particles, etc. -- are viewed as part of the predicate.&quot; (Emphasis mine.) Now, remember this definition of the predicate, i.e., (2) above, corresponds to the new term &quot;predicator&quot;. I understand that auxiliary verbs are part of this definition of predicate, because an auxiliary verb can be part of a verb cluster. But can certain prepositions and phrasal particles also? The article has these example sentences (Words belonging to &quot;predicate&quot; (2) are boldfaced as in the article itself; My comments in parentheses.):  The butter is in the drawer. (preposition in being part of the predicate) You should give it up. (particle up being part of the predicate) Susan is pulling your leg. (I don't know why leg is marked as part of the predicate. Maybe a typo?)  QUESTION Except for the last one, which I suspect is a typo, I'd like to know whether the preposition in and the particle up belong to the predicate as presented in (2) and thus belong to the new term &quot;predicator&quot;. Prove by induction $\sum_{i=1}^ni^3=\frac{n^2(n+1)^2}{4}$ for $n\ge1$ Prove the following statement $S(n)$ for $n\ge1$:  $$\sum_{i=1}^ni^3=\frac{n^2(n+1)^2}{4}$$  To prove the basis, I substitute $1$ for $n$ in $S(n)$:  $$\sum_{i=1}^11^3=1=\frac{1^2(2)^2}{4}$$  Great. For the inductive step, I assume $S(n)$ to be true and prove $S(n+1)$:  $$\sum_{i=1}^{n+1}i^3=\frac{(n+1)^2(n+2)^2}{4}$$  Considering the sum on the left side:  $$\sum_{i=1}^{n+1}i^3=\sum_{i=1}^ni^3+(n+1)^3$$  I make use of $S(n)$ by substituting its right side for $\sum_{i=1}^ni^3$:  $$\sum_{i=1}^{n+1}i^3=\frac{n^2(n+1)^2}{4}+(n+1)^3$$  This is where I get a little lost. I think I expand the equation to be  $$=\frac{(n^4+2n^3+n^2)}{4}+(n+1)^3$$  but I'm not totally confident about that. Can anyone provide some guidance? Prevent execution of parent event handler How to request a random row in SQL? Why are there scenes that will not render on GPU but will render fine on CPU? I've already tried GPU Rendering and it seem to be twice as fast as the CPU. However I have some situation where tried to render on the GPU, but it doesn't do anything. When I switch to CPU it renders.  I have some fur texture/materials using particle systems. I wonder if that causes the GPU not to render, I'm not really sure. $$\frac{1}{n+1}&lt; \log(1+ 1/n)$$  Any ideas? I tried estimating the difference between $1/n$ and the logarithm and comparing with $1/n-1/(n+1)$ but I miserably failed. Changing threshold in logistic regression Suppose that you have a logistic model and the predicted probabilities of a $1$ all are in $[0.2,0.3]$. So the predictions would be "0" based on a threshold of $0.5$. What would be a good threshold to choose? Is there a word for someone who has others do all their work for them? In a way like a slave master. More though like say someone who had robots do all their work and they were never themselves productive and had no drive. If you've read R.U.R. you'll understand the question better. I'm looking for a word with more definition than just lazy.  Update 1: It think I may actually go with drone if anything. I think that definition fits what I'm looking for the best. I also liked the definition of the British term layabout that one person mentioned, but I will probably use drone. Thanks for all the help and sorry if I was confusing or unclear.  Update 2: I needed this word for use in an essay I was writing which I have now handed in. Thanks for the help guys. No more suggestions needed. S tabular with alignment How long do you get to use a UK standard visitor visa from time of issue or is it valid for entry indefinite I am going to apply for a standard visitor visa for my girlfriend to enter UK. If it is issued how soon does it have to be used after issue, ie. validity until time of entry? Calling a Java method with no name Is there a single word with the same meaning as "good moments" or "pleasant memories"? I'm looking for a word which describes good thing(s) that happened to someone. The only word I can think of is "joy".  Some examples might be:   Wayne has many pleasant memories of the days spent with the family. She could remember many good moments from the last weekend. Will factory resetting my device remove the Android upgrade? I have upgraded my phone to Android 2.1. I need to reset my phone but I don't want to lose the upgrade. Is it possible to do this? How? How to find python installation directory on Ubuntu I have just migrated from Windows environment. I have installed Python 3.2 in a separate directory. How can I get the python installation path in Ubuntu shell?  Is there any way I can let the shell know/choose at runtime which python version is to be used for further code execution?  Are there any environment variables and search path kind of things in Ubuntu Linux as well? Scrolling has stopped working in chat I'm attempting to install Ubuntu 14.04.1 (the only version I have handy) onto my old Compaq Presario R3000 (this Ubuntu was recommended for this computer). The installation has stalled at about 60% and hasn't moved in an hour.  The message at the bottom says: Configuring bcmwl-kernal-source (i386).  I have no experience with Ubuntu (or with Linux, for that matter), coming from a strictly-Windows background). Can anyone offer some advice? Meaning of probability notations $P(z;d,w)$ and $P(z|d,w)$ What is the difference in meaning between the notation $P(z;d,w)$ and $P(z|d,w)$ which are commonly used in many books and papers? I recently wanted to add some RAM to my old computer, but unfortunately I mixed together "good" RAM with chips that I extracted from a computer that failed after getting too much voltage. I know it sounds like a bad idea to just plug it into a motherboard, so I figured I'd ask first - is there usually any protection in the motherboards against this kind of faulty chips? Also, how likely is that RAM got damaged when computer got his deadly current or failed for internal reasons (something shorted because of dust, failed components etc.)? Evaluate $\sum_{n=1}^\infty nx^{n-1}$ How can you evaluate $\sum_{n=1}^\infty nx^{n-1} = \frac{1}{(1-x)^2}$ without relying on the fact that it's the derivative of $\sum_{n=1}^\infty x^n = \frac{1}{1-x} $?