Quantcast
Channel: Answers for "Declare Component type in GetComponent"
Browsing index pages (4 articles)
↧

Answer by Bunny83

There are only a few possibilities: - The other script is C# and therefore can't be accessed by UnityScript unless it's compiled first (so the c# script is in an earlier compilation group). - Both...

View Article


Answer by Mizuho

`TapMoveDragLook` refers to your own custom class. If it's not a valid type, then you may not have the class declared correctly. public class TapMoveDragLook : MonoBehaviour { Should be at the top of...

View Article


Answer by Bunny83

There are only a few possibilities: - The other script is C# and therefore can't be accessed by UnityScript unless it's compiled first (so the c# script is in an earlier compilation group). - Both...

View Article

Answer by Mizuho

`TapMoveDragLook` refers to your own custom class. If it's not a valid type, then you may not have the class declared correctly. public class TapMoveDragLook : MonoBehaviour { Should be at the top of...

View Article
Browsing index pages (4 articles)


Latest Images