mack
mack
CC#
Created by mack on 9/30/2024 in #help
✅ get set help
i understand better now
12 replies
CC#
Created by mack on 9/30/2024 in #help
✅ get set help
thank you discord user amogus jimmacle
12 replies
CC#
Created by mack on 9/30/2024 in #help
✅ get set help
ah, so another class can reference MyProperty and that gives the value of _myField
12 replies
CC#
Created by mack on 9/28/2024 in #help
✅ array of methods
thank you for the info 💜
13 replies
CC#
Created by mack on 9/28/2024 in #help
✅ array of methods
i will try another way that doesnt involve arrays and whatnot for now, thanks for your help
13 replies
CC#
Created by mack on 9/28/2024 in #help
✅ array of methods
imagine the buttons as essentially a calculator for now. button 1 always adds 2 to whatever integer is passed through its method. button 2 always halves the integer passed through. there are ways around the methods with more than one parameter, but i do want one, at least
13 replies
CC#
Created by mack on 9/28/2024 in #help
✅ array of methods
(working in unity) i dont have the actual way i would be using this yet, but for instance,
Debug.Log(MethodName(type));
Debug.Log(MethodName(type));
the reason i want the array is that i want to programmatically assign the methods to a different array (of buttons), in such a way that Methods[0] would be given to Buttons[0]and so on
13 replies
CC#
Created by mack on 9/25/2024 in #help
✅ enumeration help
$close
14 replies
CC#
Created by mack on 9/25/2024 in #help
✅ enumeration help
thanks for this extra information :) youre very helpful
14 replies
CC#
Created by mack on 9/25/2024 in #help
✅ enumeration help
so for instance what if i just wanted to debug log the randomized color to string
14 replies
CC#
Created by mack on 9/25/2024 in #help
✅ enumeration help
oh lovely, thats so cool! thanks so much
14 replies