79524182

Date: 2025-03-20 22:24:49
Score: 1
Natty:
Report link

So I figured out what I was doing wrong.

I was using .GetType() when I needed to be using .GetClass()

I spent an hour searching and minutes after posting this I found a thread with the answer.

https://discussions.unity.com/t/add-script-component-to-game-object-from-c/590211 Heres the link I suppose

Reasons:
  • Blacklisted phrase (0.5): I need
  • Whitelisted phrase (-2): I figured out
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Juan Alarcon