Revert "Conditional UnityEditor Code"

This reverts commit 579d125ea688d877054a34ea88a82e41fbce5a0f.