Advertisement
Guest User

Untitled

a guest
May 24th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. public class RefScript : MonoBehaviour
  2. {
  3. // Start is called before the first frame update
  4. void Start()
  5. {
  6. // 新しくなった
  7. GetComponent<Light>().color = Color.red;
  8. }
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement