Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class RefScript : MonoBehaviour
- {
- // Start is called before the first frame update
- void Start()
- {
- // 新しくなった
- GetComponent<Light>().color = Color.red;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement