mob-sakai / SoftMaskForUGUI

Enhance Unity UI (uGUI) with advanced soft-masking features to create more visually appealing effects!
https://github.com/mob-sakai/SoftMaskForUGUI
MIT License
2k stars 262 forks source link

Unity 2018.x compile failed #51

Closed CHFreezer closed 5 years ago

CHFreezer commented 5 years ago

Assets\Coffee\UIExtensions\SoftMaskForUGUI\Scripts\SoftMask.cs(417,33): error CS1061: 'Camera' does not contain a definition for 'reviousViewProjectionMatrix' and no accessible extension method 'reviousViewProjectionMatrix' accepting a first argument of type 'Camera' could be found (are you missing a using directive or an assembly reference?)

https://github.com/mob-sakai/SoftMaskForUGUI/blob/bffaed3d78257edcb0f50562eae3fb6933e98010/Assets/Coffee/UIExtensions/SoftMaskForUGUI/Scripts/SoftMask.cs#L417 modify to: Matrix4x4 previousVP = cam.previousViewProjectionMatrix;

mob-sakai commented 5 years ago

Hi @CHFreezer Thank you for your reporting!