#main and client question

6 messages · Page 1 of 1 (latest)

quick ruin
#

hey guys,i have src/main and src/client;then i want to use Screen.hasShiftDown() in my custom item,it only works on client module,but my custom item and methods that register it are all in main module.what should i do for it ?

#

i see,client could quote main,but not the other side,i`ll move all my files to client lol

torpid epoch
#

That would be a bad idea since the client files/methods shouldn't be used on main/common/server, mainly bcz it will not even sync

timber orbit
#

you need to use interfaces and have 2 implementations

cedar wren
#

#mod-dev-1 message