Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

Script class cannot be found

$
0
0
Hey, so when I try to import this script to the character, it gives me this error: "Can't add script component 'SC_FPSController' because the script class cannot be found", blah blah blah.
Does anybody know how to fix this?
Here is the script (yes the name matches with behaviour):
Code (csharp):
  1.  
  2. using System.Collections;
  3. using System.Collections.Generic;
  4. using UnityEngine;
  5.  
  6. [RequireComponent(typeof(CharacterController))]
  7.  
  8. public class SC_FPSController : MonoBehaviour
  9. {
  10.     public float walkingSpeed...
Script class cannot be found

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>