Can i use a Creative Commons Share Alike 3.0 License code in a Unity asset store pack ?

I want to use one script that is under the CC-SA 3 license, that creates a metablob mesh, to be used as a sample for the procedural mesh particle emission in my Particle Dynamic Magic v1.2 upcoming pack

I mention the license in the file and the original creator etc

Is it ok to include it in the asset ?


Part of the share alike license is that your changes(contributions) automagically becomes share a like as well:

ShareAlike — If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.

So as long as you keep the license information for the one script that creates metablob mesh intact and any changes you do to that script also have the CC-SA 3 license, you’re good.