© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
23 replies
Mister8luesky

Using code to reference code

So I have a collider, and I have code elsewhere that tells my UI counter to go up. That code lives in LogicScript and it's called addScore. I'm trying my best to reference it within my collider's script using the tag "Logic", but there's definitely something wrong with that big logic = line as well as the logic.addscore line. Does anyone have any advice? :')
Screenshot_2024-09-15_152857.png
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ Missing assembly reference using PackageReference
C#CC# / help
3y ago
✅ Object reference error? Using Unity
C#CC# / help
4y ago
❔ Source code generator with reference to the main project
C#CC# / help
4y ago
✅ How to change font using code
C#CC# / help
3y ago