Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static string CheckPlayer()
- {
- Type t = System.Reflection.MethodBase.GetCurrentMethod().DeclaringType;
- if (t == typeof(PlayerOne))
- {
- return "PlayerOne";
- }
- else
- {
- return "PlayerTwo";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement