Unity Objects Should Not Use Pattern Matching Java